for /f %%i in ("%0") do set currpath=%%~dpi
cd /d %currpath% 
CScript ./CompareMetadata.wsf //Job:CompareMetadata /NEW:./Metadata.2006.08.11.14.50.app /OLD:./Metadata.2006.07.11.14.49.app /REPORT:./Metadata.2006.08.11.14.50.html /OPEN:TRUE
pause